package com.huihuiyun.huihuiyun.server.controller.manager.website.viewobjects;

import lombok.Data;

import java.util.Date;

/**
 * 钱包变更记录
 */
@Data
public class HhyWaitingReviewWithdrawVO {
    /* 审核状态 0 待审核 1 审核失败 2 审核通过 3 禁止  */
    public static final int reviewStatus0WaitingReview = 0;

    public static final int reviewStatus1Success = 1;

    public static final int reviewStatus2Fail = 2;

    public static final int reviewStatus3Disable = 3;

    /* id */
    public String id;

    /* 交易号 */
    public String transactionId;

    /* 变化原因 1 购物，2 退货，3 积分解锁，4 推荐收益，5 提现，6 充值 */
    public int type;

    /* 可提现积分 */
    public String enableWithdrawPoints;

    /* 不可提现积分 */
    public String disableWithdrawPoints;

    /* 冻结积分 */
    public String freezePoints;

    /* 现金（分） */
    public long cash;

    /* 可提现积分 变化 */
    public String enableWithdrawPointsChange;

    /* 不可提现积分 变化 */
    public String disableWithdrawPointsChange;

    /* 冻结积分 变化 */
    public String freezePointsChange;

    /* 现金（分）变化 */
    public long cashChange;

    /* 审核状态 */
    public int reviewStatus = HhyWaitingReviewWithdrawVO.reviewStatus0WaitingReview;

    public Date createTime;

    public Date updateTime;
}
